import Vue from 'vue'
import App from './App.vue'
import store from '@/store'
import '@/plugins'
import '@/utils/solution'
import '@/assets/styles/common.scss'

//复制到粘贴板插件
import VueClipboard from 'vue-clipboard2'
VueClipboard.config.autoSetContainer = true
Vue.use(VueClipboard)

// 调试
// import Vconsole from 'vconsole'
// let vConsole = new Vconsole()
// export default vConsole

Vue.config.productionTip = false

if (process.env.NODE_ENV === 'production') {
    window.apiready = () => {
        new Vue({
            store,
            render: h => h(App)
        }).$mount('#app')
    }
} else {
    new Vue({
        store,
        render: h => h(App)
    }).$mount('#app')
}